package com.leo.quartz.controller;

import com.leo.base.AbstractController;
import com.leo.quartz.common.lang.PageView;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 页面跳转
 *
 * @author liusl
 * @version 1.0
 * @date 2018/12/8 13:33
 */
@Controller
@RequestMapping("/pages")
public class PageController extends AbstractController {

    @RequestMapping("/welcome.html")
    public ModelAndView welcome() {
        return buildModelAndView(PageView.WELCOME);
    }
}
